home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu478.dms / pu478.adf / WBGenie / Source / sup_lib.h < prev    next >
C/C++ Source or Header  |  1993-09-12  |  748b  |  29 lines

  1. #ifndef    SUP_LIB_H
  2. #define    SUP_LIB_H
  3. /*
  4. **  WBGenie is Copyright 1992 by Steven Velletri.  All Rights Reserved
  5. **
  6. **    Filename:   sup_lib.h
  7. **    Release:    1.0
  8. **    Revision:   0.0
  9. **    Date:       23/07/92
  10. **
  11. **  Purpose:
  12. **        Display handling prototypes and macros.
  13. */
  14.  
  15. struct SUPTOOLTYPES
  16.     {
  17.     char *tt_name;  /* the tool type name       */
  18.     BOOL  flag1;    /* private, set it to zero  */
  19.     };
  20.  
  21. #define SUPTOOLTYPESIZE(X) sizeof(X)/sizeof(struct SUPTOOLTYPES)
  22.  
  23. void sup_free_tool_type_array(char **tool_types);
  24. char ** sup_create_tool_type_array(char **old_tool_types,
  25.                                    char **new_tool_types,
  26.                                    struct SUPTOOLTYPES *def_tool_types, int num_new_tt);
  27.  
  28. #endif    /* SUP_LIB_H */
  29.